package com.xxxx.server.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.xxxx.server.mapper.SysMsgMapper;
import com.xxxx.server.pojo.SysMsg;
import com.xxxx.server.service.ISysMsgService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * <p>
 *  服务实现类
 * </p>
 * @author zhoubin
 * @since 2020-09-07
 */
@Service
public class SysMsgServiceImpl extends ServiceImpl<SysMsgMapper, SysMsg> implements ISysMsgService {
    @Resource
    private SysMsgMapper sysMsgMapper;


    @Override
    public SysMsg selectMsgId(String mid) {
        return sysMsgMapper.selectByMid(mid);
    }
}
